package com.ee.lock.dao;

import com.ee.lock.entity.Lock;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author LiBo
 * @date 2022年03月02日 15:51
 */
@Repository
@Mapper

public interface LockMapper {
    int addLock(Lock lock);
    List<Lock> getLock();
    int updateStatus(String id, Integer status);
    Lock getLockById(String id);
}
